<template>
  <div v-if="appStore.isLoading" id="app-loading">
    <div class="cube-container">
      <div class="cube cube1"></div>
      <div class="cube cube2"></div>
      <div class="cube cube3"></div>
    </div>
    <p class="loading-text">正在加载中...</p>
  </div>
</template>

<script setup>
import { useAppStore } from '@/store/app.ts'

const appStore = useAppStore()
</script>

<style lang="scss">
@use "@/styles/app.loading.module.scss";
</style>
